<div class="venues view">
<h2><?php  __('Venue');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $venue['Venue']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Marker'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($venue['Marker']['id'], array('controller' => 'markers', 'action' => 'view', $venue['Marker']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('User'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($venue['User']['id'], array('controller' => 'users', 'action' => 'view', $venue['User']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Venue Type'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $venue['Venue']['venue_type']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Is Active'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $venue['Venue']['is_active']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $venue['Venue']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $venue['Venue']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Venue', true), array('action' => 'edit', $venue['Venue']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Venue', true), array('action' => 'delete', $venue['Venue']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $venue['Venue']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Venues', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Venue', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Markers', true), array('controller' => 'markers', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Marker', true), array('controller' => 'markers', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Venue Details', true), array('controller' => 'venue_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Venue Detail', true), array('controller' => 'venue_details', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Venue Tips', true), array('controller' => 'venue_tips', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Venue Tip', true), array('controller' => 'venue_tips', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Guides', true), array('controller' => 'guides', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Guide', true), array('controller' => 'guides', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php __('Related Venue Details');?></h3>
	<?php if (!empty($venue['VenueDetail'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Venue Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['venue_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['name'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Description');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['description'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Address1');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['address1'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Address2');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['address2'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Postal Code');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['postal_code'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Country Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['country_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Phone');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['phone'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Web');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['web'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Is Active');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['is_active'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['created'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $venue['VenueDetail']['modified'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $this->Html->link(__('Edit Venue Detail', true), array('controller' => 'venue_details', 'action' => 'edit', $venue['VenueDetail']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Venue Tips');?></h3>
	<?php if (!empty($venue['VenueTip'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Venue Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Text'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($venue['VenueTip'] as $venueTip):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $venueTip['id'];?></td>
			<td><?php echo $venueTip['venue_id'];?></td>
			<td><?php echo $venueTip['user_id'];?></td>
			<td><?php echo $venueTip['text'];?></td>
			<td><?php echo $venueTip['is_active'];?></td>
			<td><?php echo $venueTip['created'];?></td>
			<td><?php echo $venueTip['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'venue_tips', 'action' => 'view', $venueTip['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'venue_tips', 'action' => 'edit', $venueTip['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'venue_tips', 'action' => 'delete', $venueTip['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $venueTip['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Venue Tip', true), array('controller' => 'venue_tips', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Guides');?></h3>
	<?php if (!empty($venue['Guide'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Created By'); ?></th>
		<th><?php __('Marker Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Keywords'); ?></th>
		<th><?php __('Address'); ?></th>
		<th><?php __('Votes'); ?></th>
		<th><?php __('Rating'); ?></th>
		<th><?php __('Privacy Id'); ?></th>
		<th><?php __('Is Featured'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($venue['Guide'] as $guide):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $guide['id'];?></td>
			<td><?php echo $guide['created_by'];?></td>
			<td><?php echo $guide['marker_id'];?></td>
			<td><?php echo $guide['name'];?></td>
			<td><?php echo $guide['description'];?></td>
			<td><?php echo $guide['keywords'];?></td>
			<td><?php echo $guide['address'];?></td>
			<td><?php echo $guide['votes'];?></td>
			<td><?php echo $guide['rating'];?></td>
			<td><?php echo $guide['privacy_id'];?></td>
			<td><?php echo $guide['is_featured'];?></td>
			<td><?php echo $guide['is_active'];?></td>
			<td><?php echo $guide['created'];?></td>
			<td><?php echo $guide['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'guides', 'action' => 'view', $guide['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'guides', 'action' => 'edit', $guide['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'guides', 'action' => 'delete', $guide['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $guide['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Guide', true), array('controller' => 'guides', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
